<cflogin>
	<cfif isDefined("attributes.username") and isDefined("attributes.password") and
			len(trim(attributes.username)) and len(trim(attributes.password))>
		<cfif application.blog.authenticate(trim(attributes.username),trim(attributes.password))>
			<cfloginuser name="#trim(attributes.username)#" password="#trim(attributes.password)#" roles="admin">
		</cfif>
	</cfif>
</cflogin>
